package ftl.yyh.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import ftl.yyh.common.utils.PageUtils;
import ftl.yyh.mall.product.entity.CategoryEntity;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author yyh
 * @email yangyyh@163.com
 * @date 2021-07-24 21:54:11
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);
    /** 查询商品树 */
    List<CategoryEntity> listWithTree();

    boolean removeByIds(Collection<? extends Serializable> idList);
}

